<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        require "../../_app/Config.inc.php";
        
        $inserir = new Cadastrar();
        $dataCadUsu = filter_input_array(INPUT_POST,FILTER_DEFAULT);
        if ($dataCadUsu['CadastrarUsu']):
            $inserir->CadastrarUsuario($dataCadUsu);
        endif;
        
        ?>
        
        <fieldset>
            <legend>Cadastrar Usuários</legend>
            <form name="CadastrarAnimal" action="" method="POST" >
                <label>CPF:</label><br />
                <input type="text" name="cpf" /><br /><br />
                <label>Email:</label><br />
                <input type="text" name="email" /><br /><br />
                <label>Senha:</label><br />
                <input type="password" name="senha" /><br /><br />
                <label>Nivel de acesso:</label>
                <select name="opcoes">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                </select><br /><br />
                <input type="submit" name="CadastrarUsu" value="Cadastrar" /><br />
            </form>
        </fieldset>
    </body>
</html>
